package facade;

import javax.ejb.Remote;

import dtos.ArticuloVentaDTO;
import dtos.ClienteDTO;
import dtos.FacturaVentaDTO;
import exceptions.EntityAlreadyExistException;

@Remote
public interface AdministradorFacade {
	public boolean guardarFactura(FacturaVentaDTO f) throws EntityAlreadyExistException;
	public boolean guardarCliente(ClienteDTO c) throws EntityAlreadyExistException;
	public boolean guardarArticuloVenta(ArticuloVentaDTO a) throws EntityAlreadyExistException;
	public ClienteDTO buscarCliente(int codigo);
	public ClienteDTO buscarCliente(String nombre);
	public ClienteDTO buscarClienteDom(String domicilio);
}
